package JLB_Chapter_11;


public class code_11_02 {
    enum Constants {
        Constants_A, Constants_B, Constants_C, Constants_D
    }
    public static void main(String[] args) {
        Constants[] enumArray = Constants.values();
        for(int i = 0; i < enumArray.length; i++) {
            System.out.println("枚举类型成员变量：" + enumArray[i]);
        }
    }
}
